<template>
	<!--
    	作者：1550495493@qq.com
    	时间：2019-07-24
    	描述：学员课程
    -->
	<div class="Course">
		<div class="Course-column after">
			<div class="fl" v-for="studentCurriculum in studentCurriculumList">
				<p class="class-name">{{studentCurriculum.curriculumName}}</p>
				<div class="Course-box">
					<p><img src="../../images/Course/2.png" /><span>开课时间：{{formatData(studentCurriculum.beginCurriculumTime,"yyyy-MM-dd hh:mm")}}</span></p>
					<p><img src="../../images/Course/1.png" /><span>结课时间：{{formatData(studentCurriculum.endCurriculumTime,"yyyy-MM-dd hh:mm")}}</span></p>
					<p>
						<img src="../../images/Course/3.png" />
						<span>开课地点：<span class="course-address">{{studentCurriculum.curriculumAddr}}</span></span>
					</p>
					<div class="Submit-box">
						<input @click="CourseDetails(studentCurriculum.curriculumUuid)" class="Submit-application cursor" type="button" value="查看课程" />
					</div>
				</div>
			</div>
		</div>
		<div class="center" v-if="!studentCurriculumList.length">---- 暂无课程 ----</div>
		<!--total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  -->
		<pageination :total="total" :size="size" :page="page" :changge="pageFn" @child="obtainChild"></pageination>
	</div>

</template>
<script src="./Course.js"></script>

<style scoped>
	@import "Course.css"
</style>
